import request from './request';
import { GET, POST } from './http';

export async function getUserInfo(params: API.UserInfo) {
  return request('Sougroup/UserCenter/personal_center', GET, params);
}

export async function postUserInfo(data: API.UserInfo) {
  return request('Sougroup/UserCenter/personal_center', POST, '', data);
}
